<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="javax.annotation.Resource"%>
<%@page import="cn.lhx.blog.service.ArticleService"%>
<%@page import="cn.lhx.blog.service.ArtiCatgService"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@page import="cn.lhx.blog.pojo.ArticleCategory"%>
<%@page import="cn.lhx.blog.pojo.Comment"%>
<%@page import="cn.lhx.blog.pojo.Article"%>
<%@page import="cn.lhx.blog.pojo.Link"%>
<%@page import="cn.lhx.blog.service.CommentService"%>
<%@page import="cn.lhx.blog.service.ArticleOrgService"%>
<%@page import="cn.lhx.blog.service.LinksService"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="/timefunction" prefix="tmf"%>

				<div id="sidebar">
					
				
					<ul id="mainul">

						

						<li class="list-cat">
							<h2>
								Categories
							</h2>
							<ul id="cat-ul">
								<li class="cat-item cat-item-1">
								  正在加载···
								</li>
							</ul>
						</li>

						<li class="list-archives">
							<h2>
								Archives
							</h2>
							<ul >
							<li>
									努力实现中···

								</li>
							</ul>
						</li>

						<li class="list-recent">
							<h2>
								Recently Written
							</h2>
							<ul  id=art-ul>
								<li>
									正在加载···
								</li>
							</ul>
						</li>
						
						<li class="list-recent">
							<h2>
								Recently Comment
							</h2>
							
							<ul id=comt-ul>
								<li>
									正在加载···
								</li>
							</ul>
						</li>

						<li id="linkcat-2" class="linkcat">
					<h2>
						链接表
					</h2>
					<ul id=link-ul>

						<li>
							正在载入···
						</li>
						

					</ul>
				</li>

						<li class="list-meta">
							<h2>
								Meta
							</h2>
							<ul>
								<c:if test="${adminIsLogin==null}">
								<li>
									<a href="${pageContext.request.contextPath}/login.jsp">管理员登陆</a>
								</li>
								</c:if>
								<c:if test="${adminIsLogin!=null}">
								<li>
									<a href="${pageContext.request.contextPath}/admin">博客管理</a>
								</li>
								<li>
									<a
										href="${pageContext.request.contextPath}/admin.do?method=logout">退出</a>
								</li>
								</c:if>
								
							</ul>
						</li>

					</ul>

				</div>

				<!-- end sidebar -->